package com.example.skytakeoutserver.controller.admin

import com.example.skytakeoutserver.repository.CategoryRepository
import com.example.skytakeoutserver.service.CategoryService
import io.swagger.v3.oas.annotations.tags.Tag
import lombok.RequiredArgsConstructor
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController


@RequestMapping("/admin/category")
@RestController
@RequiredArgsConstructor
@Tag(name = "分类管理")
class CategoryController
    (
    val categoryRepository: CategoryRepository,
            val categoryService: CategoryService

    )
{



}